<?php
/**
 * XuYuan Project
 *
 * @package	XueYuan 
 * @author	Jiuchi Team
 * @since	Version 1.0.0
 * @filesource
 */
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * Login view
 * @author Wayne Yu
 */
?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
    <?php $this->load->view('common/head');?>
	<!-- Page special css-->
    <link rel="stylesheet" type="text/css" href="/assets/css/index.css">
</head>

<body>
    <div class="navigation">
		<?php $this->load->view('common/navigation');?> 
    </div>
    <div class="wrapper">
        <div class="main-content">
            <div class="main-content-inner">
                <div class="home-list">
					<div class="home-list-title">
                        <button class="btn-label" onclick="window.location = '<?php echo site_url('home/msg')?>'">通知</button>
                        <button class="btn-label active">@我</button>
                        <button class="btn-label" onclick="window.location = '<?php echo site_url('home/letter')?>'">私信</button>
                    </div>
                    <div class="home-list-content clearfix">
                        <div id="ep-tips" class="ep-tips">
                            <span>暂时还没有人@你。</span>
                        </div>
                        <div id="informMore" class="navmessage-content-body">
                            <div id="inform-item" class="content-body-item" style="padding:10px 5px;cursor: pointer;">
                                <span class="name" style="color: #0072dc;"></span>
                                <span class="link"></span>
                            </div>
                            <a href="javascript:" class="btn-white btn-more">查看更多</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="footer">
        <?php $this->load->view('common/footer');?>
    </div>
    <!-- Page special scripts -->
    <script type="text/javascript" src="/assets/js/jquery.more.js"></script>
    <script>
    $(document).ready(function() {
        $('#informMore').more({
            'address': '<?php echo site_url('home/getAt')?>',
            'template': '.content-body-item',
            'trigger': '.btn-more',
            'defaultshow' : '#ep-tips'
        });
    });
    </script>
</body>
</html>

    